<%@ page contentType="text/html;charset=utf-8" language="java" import="java.sql.*"%>
<jsp:useBean id="dbConnection" scope="page" class="DB.DBConnection"/>
<% 	String id=request.getParameter("id");
	dbConnection.getConnection();//调用DBConnection数据库连接方法
  	String sql="DELETE FROM proclaim WHERE Id='"+id+"'";
  	int num=dbConnection.executeDelete(sql);
  	dbConnection.closeConn();
%>
	<script>
	alert("数据已删除！");
	window.navigate("/209ChatRoom/admin.jsp");
	</script>